using Admin2025.Application.Dtos;
namespace Admin2025.Application.Services;

public interface IAppRoleService
{
    Task<dynamic> GetAllRoleAsync();
    Task<dynamic> CreateRoleAsync(CreateRoleDto createRoleDto);
    Task<dynamic> DeleteRoleAsync(Guid roleId);
    Task<dynamic> UpdateRoleAsync(Guid roleId, UpdateRoleDto updateRoleDto);
    Task<dynamic> EnableRole(Guid roleId);
    Task<dynamic> DisableRole(Guid roleId);
    Task<dynamic> AssignPermission(Guid roleId, string permissionCode);
    Task<dynamic> RemovePermission(Guid roleId, string permissionCOde);
}
